package com.mairuide.one_click_search.dto;

import com.mairuide.one_click_search.pojo.DataTemplateField;

import java.io.Serializable;
import java.util.List;

/**
 * @Description
 * @auther 刘中华
 * @create 2019-04-23 16:19
 */
public class DataTemplateDto implements Serializable {
    /*------------------------DataTemplate-------------------------*/
    private static final long serialVersionUID = 1L;
    //主键
    private Integer vid;
    //模板名称，如：水电缴费信息
    private String mobanname;

    //数据来源的表名代码如：sdjfxx，不允许重复
    private String tablename;

    //资源类型：1-自定义模板，外部数据 2接入的第三方数据
    private Integer sourceType;

    //0自定义 1系统定义，系统定义的模板不允许删除
    private Integer templateType;

    //数据起始行一般默认第二行
    private Integer beginLine;

    private List<DataTemplateField> dataTemplateFieldList;
    public Integer getVid() {
        return vid;
    }

    public void setVid(Integer vid) {
        this.vid = vid;
    }

    public String getMobanname() {
        return mobanname;
    }

    public void setMobanname(String mobanname) {
        this.mobanname = mobanname;
    }

    public String getTablename() {
        return tablename;
    }

    public void setTablename(String tablename) {
        this.tablename = tablename;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getTemplateType() {
        return templateType;
    }

    public void setTemplateType(Integer templateType) {
        this.templateType = templateType;
    }

    public Integer getBeginLine() {
        return beginLine;
    }

    public void setBeginLine(Integer beginLine) {
        this.beginLine = beginLine;
    }

    public List<DataTemplateField> getDataTemplateFieldList() {
        return dataTemplateFieldList;
    }

    public void setDataTemplateFieldList(List<DataTemplateField> dataTemplateFieldList) {
        this.dataTemplateFieldList = dataTemplateFieldList;
    }
}
